[INFO] cloning repository https://github.com/cosh-shell/cosh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosh-shell/cosh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 201d9450d873518e62c18bcb72fbd2356a1fed57
[INFO] fixing cosh-shell/cosh against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cosh-shell/cosh
[INFO] finished tweaking git repo https://github.com/cosh-shell/cosh
[INFO] tweaked toml for git repo https://github.com/cosh-shell/cosh written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cosh-shell/cosh on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cosh-shell/cosh already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915
[INFO] running `Command { std: "docker" "start" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.116
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling siphasher v0.3.9
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling signal-hook v0.3.13
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking rustc_version v0.2.3
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking unicode-segmentation v1.8.0
[INFO] [stderr]     Checking yansi v0.5.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking whoami v1.2.1
[INFO] [stderr]     Checking is_executable v1.0.1
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking which v4.2.4
[INFO] [stderr]     Checking nix v0.22.3
[INFO] [stderr]     Checking errno v0.2.8
[INFO] [stderr]     Checking nix v0.23.1
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking guess_host_triple v0.1.3
[INFO] [stderr]     Checking directories v4.0.1
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking signal-hook-mio v0.2.1
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]     Checking nu-ansi-term v0.36.0
[INFO] [stderr]    Compiling terminfo v0.7.3
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking clearscreen v1.0.9
[INFO] [stderr]     Checking crossterm v0.21.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking reedline v0.2.0
[INFO] [stderr]     Checking cosh v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/main.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/builtin.rs:91:15
[INFO] [stdout]     |
[INFO] [stdout]  91 |         match read_dir(p) {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  92 |             Ok(r) => {
[INFO] [stdout]  93 |                 for res in r {
[INFO] [stdout]     |                            -
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `iter` calls a custom destructor
[INFO] [stdout]     |                            `iter` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                            `#1` will be dropped later as of Edition 2024
[INFO] [stdout]  94 |                     let result = res.unwrap().path();
[INFO] [stdout]     |                                  ------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                                  `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `iter` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:101:35
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let mut rl = Reedline::create()
[INFO] [stdout]     |         ------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `rl` calls a custom destructor
[INFO] [stdout]     |         `rl` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 |                             match File::create(&history_str) {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 110 |                         } else {
[INFO] [stdout]     |                         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: `rl` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] ...
[INFO] [stdout] 186 |     }) }.spawn();
[INFO] [stdout]     |          ----- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/builtin.rs:91:15
[INFO] [stdout]     |
[INFO] [stdout]  91 |         match read_dir(p) {
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  92 |             Ok(r) => {
[INFO] [stdout]  93 |                 for res in r {
[INFO] [stdout]     |                            -
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `iter` calls a custom destructor
[INFO] [stdout]     |                            `iter` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                            `#1` will be dropped later as of Edition 2024
[INFO] [stdout]  94 |                     let result = res.unwrap().path();
[INFO] [stdout]     |                                  ------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                                  `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `iter` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:101:35
[INFO] [stdout]     |
[INFO] [stdout]  52 |     let mut rl = Reedline::create()
[INFO] [stdout]     |         ------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `rl` calls a custom destructor
[INFO] [stdout]     |         `rl` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 |                             match File::create(&history_str) {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 110 |                         } else {
[INFO] [stdout]     |                         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: `rl` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] ...
[INFO] [stdout] 186 |     }) }.spawn();
[INFO] [stdout]     |          ----- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] [stderr] crater-edition-check: cosh v1.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking cosh v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/main.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DefaultHighlighter`
[INFO] [stdout]  --> src/main.rs:8:66
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reedline::{DefaultCompleter, DefaultCompletionActionHandler, DefaultHighlighter, DefaultHinter, FileBackedHistory, Reedline, Sign...
[INFO] [stdout]   |                                                                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Color`
[INFO] [stdout]   --> src/main.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use nu_ansi_term::{Color, Style};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `current_exe` and `temp_dir`
[INFO] [stdout]  --> src/panics.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::{current_exe, temp_dir};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File` and `create_dir`
[INFO] [stdout]  --> src/panics.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{create_dir, File};
[INFO] [stdout]   |               ^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/panics.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/panics.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/panics.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use backtrace::{Backtrace, trace};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/panics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dirs::home_dir`
[INFO] [stdout]   --> src/panics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use dirs::home_dir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]  --> src/panics.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::panic::PanicInfo;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/panics.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn handle_panic(info: &PanicInfo) {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/main.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DefaultHighlighter`
[INFO] [stdout]  --> src/main.rs:8:66
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reedline::{DefaultCompleter, DefaultCompletionActionHandler, DefaultHighlighter, DefaultHinter, FileBackedHistory, Reedline, Sign...
[INFO] [stdout]   |                                                                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Color`
[INFO] [stdout]   --> src/main.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use nu_ansi_term::{Color, Style};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `current_exe` and `temp_dir`
[INFO] [stdout]  --> src/panics.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::{current_exe, temp_dir};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File` and `create_dir`
[INFO] [stdout]  --> src/panics.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{create_dir, File};
[INFO] [stdout]   |               ^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/panics.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/panics.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/panics.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use backtrace::{Backtrace, trace};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/panics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dirs::home_dir`
[INFO] [stdout]   --> src/panics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use dirs::home_dir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]  --> src/panics.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::panic::PanicInfo;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/panics.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn handle_panic(info: &PanicInfo) {
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/main.rs:180:59
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead
[INFO] [stdout]    --> src/main.rs:180:59
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 181 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] 181 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 186 |     }) }.spawn();
[INFO] [stdout]     |      -   ----- borrow later used by call
[INFO] [stdout]     |      |
[INFO] [stdout]     |      temporary value is freed at the end of this statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let child = unsafe { Command::new(command).args(args).before_exec(|| {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 186 |     }) }.spawn();
[INFO] [stdout]     |      -   ----- borrow later used by call
[INFO] [stdout]     |      |
[INFO] [stdout]     |      temporary value is freed at the end of this statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosh` (bin "cosh" test) due to 1 previous error; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cosh` (bin "cosh") due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915", kill_on_drop: false }`
[INFO] [stdout] e0cba8340e4b776f80370e9599e06c09d2e11b383e83f923a7419a01d1cb8915
